package com.xnfh.equipment.viewmodel

import com.xnfh.common.bean.KcBean
import com.xnfh.framework.base.BaseStateObserver
import com.xnfh.framework.bean.BaseResp
import com.xnfh.framework.bean.RespStateData
import com.xnfh.network.base.BaseRepository
import com.xnfh.network.manager.ApiManager
import okhttp3.RequestBody

/**
 * @Description:
 * @Author: ziheng
 * @CreateDate: 2023/12/25 13:46
 * @UpdateUser: ziheng
 * @UpdateDate: 2023/12/25 13:46
 * @UpdateRemark: 更新说明
 */
class KcEquipmentViewModelRes : BaseRepository() {

    suspend fun requestKcList(body: RequestBody, data: RespStateData<KcBean>) = dealResp(
        { ApiManager.api.requestKcList(body) }, data
    )

}